public class TestMain {
    public static void main(String[] args) {

        Course course1 = new Course("C001", "Java 程序设计", "教学楼 101", "周一 8:00-10:00");
        Course course2 = new Course("C002", "数据结构", "教学楼 202", "周三 14:00-16:00");

        Teacher teacher1 = new Teacher("T001", "张老师", "男");
        Teacher teacher2 = new Teacher("T002", "李老师", "女");

        teacher1.openCourse(course1);
        teacher2.openCourse(course2);

        Student student1 = new Student("S001", "小明", "男");
        Student student2 = new Student("S002", "小红", "女");

        student1.selectCourse(course1);
        student1.selectCourse(course2);
        student2.selectCourse(course1);

        student1.dropCourse(course2);

        student1.printCourseSchedule();
        student2.printCourseSchedule();
    }
}